package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

//奖惩表
@TableName(value ="rewards")
@Data
public class Rewards {
    private  int id; //奖惩id

    private  int staffid;//员工id

    private int deptid;//部门id

    private int rtype;//奖惩制度0：奖 1：惩罚

    private Date rewardsdate;//奖惩时间

    private String rewardscause;//奖惩原因


    private  String rewardsmoney;//奖惩金额


    //员工
    public List<SysStaff> sysStaffs;

    //部门
    public List<SysDept> sysDepts;

    //角色
    public  List<PerRole> perRoles;
}
